package com.suneast.suneaststore.modules.shopcart.event;

import com.suneast.suneaststore.modules.common.Flag;

public class ItemGoodsSelectResult {
    private @Flag.Result
    int result;

    private double totalPrice;
    private int totalCount;
    private double realPrice;
    private double coinPrice;
    private double coinRewardPrice;
    private int selected = 1;//1:选择 2:取消选择
    private int id;


    public ItemGoodsSelectResult(@Flag.Result int result, int id) {
        this.result = result;
        this.id = id;
    }

    public ItemGoodsSelectResult(int result, int selected, int id, double totalPrice, int totalCount,
                                 double realPrice, double coinPrice, double coinRewardPrice) {
        this.result = result;
        this.selected = selected;
        this.id = id;
        this.totalPrice = totalPrice;
        this.totalCount = totalCount;
        this.realPrice = realPrice;
        this.coinPrice = coinPrice;
        this.coinRewardPrice = coinRewardPrice;
    }

    public int getResult() {
        return result;
    }

    public int getSelected() {
        return selected;
    }

    public int getId() {
        return id;
    }

    public double getTotalPrice() {
        return totalPrice;
    }

    public int getTotalCount() {
        return totalCount;
    }

    public double getRealPrice() {
        return realPrice;
    }

    public double getCoinPrice() {
        return coinPrice;
    }

    public double getCoinRewardPrice() {
        return coinRewardPrice;
    }
}
